package com.Threecharacters.inherit_.Override.OverrideExerise;

public class Person {
    //1.编写一个person类，包括属性/private (name,age),
    //构造器，方法say(返回自我介绍的字符串)

    private String name;
    private int age;

/*
    public Person() {
    }
*/

    public Person(int age, String name) {
        this.age = age;
        this.name = name;
    }

    public String say() {
        return "Hello " + name + " " + age;
    }


}
